﻿using System.ComponentModel.DataAnnotations;

namespace S.Y.Passport.Write.API.Dtos
{
    public class GoodDtos
    { 

        public int GooodId { get; set; }

        /// <summary>
        /// 商品名称
        /// </summary>
        public string GoodName { get; set; }

        /// <summary>
        /// 生产批次
        /// </summary>
        public string Manufactory { get; set; }

        /// <summary>
        /// 保质期(天)
        /// </summary>
        public int Validuntil { get; set; }

        /// <summary>
        /// 生产许可证号
        /// </summary>
        public string Licence { get; set; }

        /// <summary>
        /// 生产企业
        /// </summary>
        public string Factory { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateName { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdateName { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
    }
}
